package com.demoLearn;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.net.URL;

/**
 * @description:
 * @author: tutu
 **/
public class gson {
    public static void main(String[] args) {
        File file2=new File("D:\\idea_project\\hn2.5_cas\\hn2.5_cas\\resource-examine-web\\src\\main\\java\\com\\eastwit\\examine\\knowledgeBase\\controller\\test.java");
        //String path=Thread.currentThread().getContextClassLoader().getResource("/").getPath();
        String path=Thread.currentThread().getContextClassLoader().getResource("").getPath();
        File file=new File(path + "data.json");
        try {
            FileReader fileReader=new FileReader(file2);
            System.out.println("shitutuya");
        } catch (FileNotFoundException e) {
            e.printStackTrace();
        }
    }
}
